import { createRoot } from 'react-dom/client'
import { BrowserRouter, Route, Routes } from 'react-router-dom'
import Layout from './components/layout'
import App from './App'
// import App from './App.jsx'
// import './index.css'
// import { Provider } from 'react-redux';
// import store from './store/store';

createRoot(document.getElementById('root')).render(
  // <Provider store={store}>
  //   <App />
  // </Provider>
  <BrowserRouter>
  <Routes>
    <Route path='/' element={<Layout/>}>
    <Route path='/app' element={<App/>}/>

    </Route>
  </Routes>
  </BrowserRouter>
)
